// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vuex from 'vuex'
import Vue from 'vue'
import AMap from 'vue-amap'
import App from './App'
import router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import echarts from 'echarts'
import store from './store/store'

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts 
//注册MintUi
Vue.use(MintUI)
Vue.use(AMap);
Vue.use(Vuex)

AMap.initAMapApiLoader({
  key: '812ed72f1d20fe3581b54affa8866712',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  uiVersion: '1.0' // 版本号
});
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App),
  template: '<App/>',
  components: { App }
})



